// Copyright 2021-2025 Buf Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Author: benjy@google.com (Benjy Weinberger)
//  Based on original Protocol Buffers design by
//  Sanjay Ghemawat, Jeff Dean, and others.
//
// A proto file used to test the "custom options" feature when not linked in.

// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
// @generated from file google/protobuf/unittest_custom_options_unlinked.proto (package proto2_unittest_unlinked, edition 2024)
/* eslint-disable */

// We don't put this in a package within proto2 because we need to make sure
// that the generated code doesn't depend on being in the proto2 namespace.

import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
import type { FieldOptions, FileOptions, MessageOptions } from "@bufbuild/protobuf/wkt";
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";

/**
 * Describes the file google/protobuf/unittest_custom_options_unlinked.proto.
 */
export const file_google_protobuf_unittest_custom_options_unlinked: GenFile = /*@__PURE__*/
  fileDesc("CjZnb29nbGUvcHJvdG9idWYvdW5pdHRlc3RfY3VzdG9tX29wdGlvbnNfdW5saW5rZWQucHJvdG8SGHByb3RvMl91bml0dGVzdF91bmxpbmtlZDo8CglmaWxlX29wdDESHC5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlvbnMYj53YAyABKARSCGZpbGVPcHQxOkUKDG1lc3NhZ2Vfb3B0MRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxidrdgDIAEoBVILbWVzc2FnZU9wdDE6PwoKZmllbGRfb3B0MRIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMYibzYAyABKAZSCWZpZWxkT3B0MUIJ+OjBHeqtwOUkYghlZGl0aW9uc3DpBw", [file_google_protobuf_descriptor]);

/**
 * @generated from extension: uint64 file_opt1 = 7736975;
 */
export const file_opt1: GenExtension<FileOptions, bigint> = /*@__PURE__*/
  extDesc(file_google_protobuf_unittest_custom_options_unlinked, 0);

/**
 * @generated from extension: int32 message_opt1 = 7739037;
 */
export const message_opt1: GenExtension<MessageOptions, number> = /*@__PURE__*/
  extDesc(file_google_protobuf_unittest_custom_options_unlinked, 1);

/**
 * @generated from extension: fixed64 field_opt1 = 7740937;
 */
export const field_opt1: GenExtension<FieldOptions, bigint> = /*@__PURE__*/
  extDesc(file_google_protobuf_unittest_custom_options_unlinked, 2);

